package cn.tedu.egmybatis1.mapper;

import cn.tedu.egmybatis1.pojo.entiry.Product;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ProductMapper {
    @Insert("INSERT  INTO Product (title,price,stock) values (#{title},#{price},#{stock})")
    void insertProduct(Product product);
}
